<include file="./Tpl/Admin/header.html" />
<div class="main">
	<div class="main_title">
		<img src="/Public/Admin/images/book1.gif"/>&nbsp;&nbsp;回复问题
	</div>
	<div class="main_body">
		<form action="?s=Admin/Message/update" method="post">
		<input type="hidden" name="id" value="{$message.id}"/>
		<table cellspacing=0 cellpadding=0 border=0>
		<tr><td>用户名:</td><td><input type="text" value="{$message['uname']}" disabled="disabled"/></td></tr>
		<tr><td>问题类型:</td><td><input type="text"  value="{$message.type}" disabled="disabled"/></td></tr>
		<tr><td>问题描述:</td><td><span>{$message.content}</span></td></tr>
		<tr><td>提交时间:</td><td><span>{$message.add_time|date="Y-m-d H:i:s",###}</span></td></tr>
		<tr>
			<td>回复内容</td>
			<td>
				<textarea name="content" cols=100 rows=20>{$content}</textarea> 
			</td>
		</tr>
		</table>
		<div><input type="submit" value="提交"/></div>
		</form>
    </div>
	
</div>
<include file="./Tpl/Admin/footer.html" />
<script language="javascript" src="/Public/plugin/kindeditor/jquery.tools.min.js"></script>
<script language="javascript" src="/Public/plugin/kindeditor/kindeditor-min.js"></script>
<script language="javascript" src="/Public/plugin/kindeditor/zh_CN.js"></script>
<script language=javascript>
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="content"]', {
			resizeType : 1,
			allowPreviewEmoticons : false,
			allowImageUpload : true,
			items : [
				'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
				'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
				'insertunorderedlist', '|', 'image', 'link']
		});
	});
</script>